package com.ruoyi.mushcoin.domain.bo;

import com.ruoyi.common.orm.core.domain.BaseEntityTo;
import com.ruoyi.mushcoin.domain.TgWalletOrderTransaction;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * TG钱包订单交易(Ton...)业务对象 tg_wallet_order_transaction
 *
 * @author billy
 * @date 2024-11-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TgWalletOrderTransaction.class, reverseConvertGenerate = false)
public class TgWalletOrderTransactionBo extends BaseEntityTo
{

    /**
     * TG用户ID
     */
    private Long id;
    /**
     * TG用户ID
     */
    private Long userId;

    /**
     * 商品ID
     */
    private Long goodsId;

    /** 商品类型 */
    private Integer goodsType;

    /**
     * 支付交易订单
     */
    private String payOrderId;

    /**
     * 交易金额to
     */
    private BigDecimal amountTo;

    /**
     * 发送地址
     */
    private String fromAddress;

    /**
     * 接受地址
     */
    private String toAddress;

    /**
     * 订单状态
     */
    private Integer status;

    /**
     * 1(ton支付)，2(usdt支付) ，3(star支付)
     */
    private Integer transType;

    /**
     * 交易钱包类型
     */
    private String walletType;

    /**
     * 交易币当前价格
     */
    private BigDecimal coinTransPrice;


}
